package com.yigoushangcheng.oauth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: ljj
 * @Description:
 */
@Controller
@RequestMapping("/oauth")
public class LoginRedirect {

    @RequestMapping("/login")
    public String login(String FROM, Model model){
        model.addAttribute("FROM",FROM);
        return "login";
    }
}
